package com.ruoyi.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 基础数据代码项（此主要存储相关数据字典信息）对象 t_code_items
 * 
 * @author xin.jucheng
 * @date 2024-03-28
 */
public class CodeItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否隐藏 */
    @Excel(name = "是否隐藏")
    private Integer visible;

    /** 级数 */
    @Excel(name = "级数")
    private Long layer;

    /** 代码集 */
    @Excel(name = "代码集")
    private String setId;

    /** 父级id */
    @Excel(name = "父级id")
    private String pid;

    /** 是否明细 */
    @Excel(name = "是否明细")
    private Long isdetail;

    /** exattrid */
    @Excel(name = "exattrid")
    private String exattrId;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNo;

    /** 是否 删除 0 未删除 1 已删除 */
    @Excel(name = "是否 删除 0 未删除 1 已删除")
    private Integer del;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setVisible(Integer visible) 
    {
        this.visible = visible;
    }

    public Integer getVisible() 
    {
        return visible;
    }
    public void setLayer(Long layer) 
    {
        this.layer = layer;
    }

    public Long getLayer() 
    {
        return layer;
    }
    public void setSetId(String setId) 
    {
        this.setId = setId;
    }

    public String getSetId() 
    {
        return setId;
    }
    public void setPid(String pid) 
    {
        this.pid = pid;
    }

    public String getPid() 
    {
        return pid;
    }
    public void setIsdetail(Long isdetail) 
    {
        this.isdetail = isdetail;
    }

    public Long getIsdetail() 
    {
        return isdetail;
    }
    public void setExattrId(String exattrId) 
    {
        this.exattrId = exattrId;
    }

    public String getExattrId() 
    {
        return exattrId;
    }
    public void setOrderNo(Long orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() 
    {
        return orderNo;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("visible", getVisible())
            .append("layer", getLayer())
            .append("setId", getSetId())
            .append("pid", getPid())
            .append("isdetail", getIsdetail())
            .append("exattrId", getExattrId())
            .append("orderNo", getOrderNo())
            .append("del", getDel())
            .toString();
    }
}
